package com.template.uid.mapper;

import com.baidu.fsg.uid.worker.entity.WorkerNodeEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface WorkerNodeMapper {
    WorkerNodeEntity getWorkerNodeByHostPort(@Param("host") String host, @Param("port") String port);


    void addWorkerNode(WorkerNodeEntity workerNodeEntity);


}
